package com.ekgc.addressbook.base.pojo.enums;

import lombok.Data;

/**
 * <b>基础功能 -- 系统相应编码枚举信息</b>
 *
 * @author FanSheng
 * @version 1.0
 */
public enum RespCode {
	RESP_SUCCESS("20000","系统业务处理成功"),
	RESP_FAILURE("30000","系统业务处理错误"),
	RESP_UNAUTH("40000","用户未进行认证"),
	RESP_EXCEPTION("50000","系统响应异常");

	private String code;
	private String msg;

	RespCode(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
